package com.apes.framework.rop.session;

import com.apes.framework.util.MD5Util;

import java.util.List;

/**
 * 功能：
 *
 * @author xul
 * @create 2019-09-29 14:27
 */
public class SessionUtil {

    public static String getSessionId(String... values) {
        StringBuilder sb = new StringBuilder();
        for (Object value : values) {
            if (sb.length() > 0) sb.append("#");
            sb.append(value);
        }
        return MD5Util.encrypt(sb.toString());
    }
}
